/**
 * 
 */
package com.smarthome.core.area.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.smarthome.base.service.ShAreaDistrictService;
import com.smarthome.core.area.AreaDistrictService;
import com.smarthome.domain.bean.ShAreaDistrict;

/**
 * @author dhc
 * @date 2015年10月12日 下午5:26:09
 * @title
 */
@Service("areaDistrictService")
public class AreaDistrictServiceImpl implements AreaDistrictService {

	@Resource(name="shAreaDistrictService")
	private ShAreaDistrictService areaDistrictService;
	@Override
	public ShAreaDistrict queryShAreaDistrictById(Long id) {
		
		
		return areaDistrictService.selectEntryById(id);
	}

	@Override
	public List<ShAreaDistrict> queryShAreaDistricts(ShAreaDistrict areaDistrict) {
		
		return areaDistrictService.selectEntryList(areaDistrict);
	}

}
